package models.mappers;

import java.util.List;
import java.util.Map;

import models.SystemMenu;
import models.User;

import org.apache.ibatis.annotations.Select;

import vos.SystemMenuView;

public interface SystemMenuMapper {
	/**
	 * 根据父ID查询菜单
	 *
	 * @Title: selectById 
	 * @param id 父节点ID
	 * @return
	 * @return: SystemMenu 菜单对象
	 */
	 List<SystemMenuView> selectChildren(Map<String,String> map);
	 
	 /**
	 * 查询父菜单
	 *
	 * @Title: selectById 
	 * @return
	 * @return: SystemMenu 菜单对象
	 */
	 List<SystemMenuView> selectMenus(String operatorid);
}
